package com.evil.application.pojo.dto.pack;

import cn.hutool.core.bean.BeanUtil;
import com.evil.application.pojo.entity.ApplicationPackage;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 应用包信息 返回实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@NoArgsConstructor
public class PackageRespDTO {

    /**
     * 应用包id
     */
    private Long packageId;

    /**
     * 应用包名
     */
    private String packageName;

    public PackageRespDTO(ApplicationPackage applicationPackage) {
        BeanUtil.copyProperties(applicationPackage, this);
    }
}
